{% extends 'base.html' %}
{% block title %}教师信息{% endblock %}
{% block main %}
    <h1>教师信息</h1>
    <div style="max-width: 330px" class="m-auto">
        <form method="POST" action="">
            <div class="mb-3">
                <label>姓名</label>
                <input type="number"  class="form-control" readonly placeholder="{{ user.username }}">
            </div>
            <div class="mb-3">
                <label>工号</label>
                <input type="text"class="form-control" readonly placeholder="{{ user.teacherprofile.teacher_id }}">
            </div>
            <div class="mb-3">
                <label>手机号</label>
                <input type="number" name="phone" value="{{ user.teacherprofile.phone }}" class="form-control" placeholder="{{ user.teacherprofile.phone }}" readonly>
            </div>
            <div class="mb-3">
                <label>职称</label>
                <input type="text" class="form-control" readonly placeholder="{{ user.teacherprofile.profession }}">
            </div>
            <div class="mb-3">
                <label>密码</label>
                <input type="password" name="password" class="form-control" placeholder="密码">
            </div>
            <div class="mb-3 mt-3">
                <button class="btn btn-primary w-100">点击修改</button>
            </div>

        </form>
    </div>


{% endblock %}